﻿//Created by Action Script Viewer - http://www.buraks.com/asv
package Modules.guide.ui {
    import flash.display.*;
    import Classes.*;
    import flash.text.*;

    public class CashCannotUseTooltip extends Sprite {

        private var m_background:DisplayObject;
        private var m_tfTitle:TextField;
        private var m_titleFormat:TextFormat;

        public function CashCannotUseTooltip(){
            this.mouseChildren = (this.mouseEnabled = false);
            this.m_background = (new EmbeddedArt.cash_cannot_use_Bubble() as DisplayObject);
            addChild(this.m_background);
            this.m_titleFormat = new TextFormat(EmbeddedArt.TITLE_FONT, 16, 567816);
            this.m_tfTitle = new TextField();
            this.m_tfTitle.embedFonts = true;
            this.m_tfTitle.autoSize = TextFieldAutoSize.LEFT;
            this.m_tfTitle.defaultTextFormat = this.m_titleFormat;
            this.m_tfTitle.x = 10;
            this.m_tfTitle.y = 8;
            this.m_tfTitle.text = ZLoc.t("Dialogs", "cash_cannot_use_tooltip");
            addChild(this.m_tfTitle);
        }
    }
}//package Modules.guide.ui 
